package org.bean;

import java.util.Date;

import org.constant.ActionEnum;

/**
 * 拦截信息
 */
public class InterceptInfoDTO {

	private int type;
	private String target;
	private Date deadLine;
	/** 行为 0：初始化 1：新增 2：删除 */
	private ActionEnum action;

	public InterceptInfoDTO(int type, String target, Date deadLine, ActionEnum action) {
		super();
		this.type = type;
		this.target = target;
		this.deadLine = deadLine;
		this.action = action;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getTarget() {
		return target;
	}

	public void setTarget(String target) {
		this.target = target;
	}

	public Date getDeadLine() {
		return deadLine;
	}

	public void setDeadLine(Date deadLine) {
		this.deadLine = deadLine;
	}

	public ActionEnum getAction() {
		return action;
	}

	public void setAction(ActionEnum action) {
		this.action = action;
	}
}
